package com.yixun.qfbao.apidto;

import com.yixun.qfbao.annotation.Constants;
import com.yixun.qfbao.annotation.TYWValid;
import com.yixun.qfbao.apidto.base.CommonReqDTO;

import java.io.Serializable;

/**
 * 获取字典类型值Page
 *
 * @author guifang.weng
 * @create 2017-11-23 14:56
 **/
public class GetBaseCodeValuePageReqDto extends CommonReqDTO implements Serializable {
    private static final long serialVersionUID = 486736213846808532L;
    /**
     * 类型ID
     */
    @TYWValid(regModel = Constants.NUMBER)
    private Long typeId;
    /**
     * 编码名称
     */
    @TYWValid(max = 20)
    private String codeName;
    /**
     * 页数
     */
    @TYWValid(regModel = Constants.NUMBER)
    private Integer pageSize;
    /**
     * 页码
     */
    @TYWValid(regModel = Constants.NUMBER)
    private Integer pageNo;
    /**
     * 登录人公司ID（后台使用）
     */
    private Long merchantId;

    public Long getTypeId() {
        return typeId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public String getCodeName() {
        return codeName;
    }

    public void setCodeName(String codeName) {
        this.codeName = codeName;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getPageNo() {
        return pageNo;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo = pageNo;
    }

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }
}
